package com.ff.xyh.access.service.impl.dictionary;

import com.ff.xyh.access.service.dictionary.DictionaryService;
import com.ff.xyh.common.entity.result.ResultObject;
import com.ff.xyh.feign.client.dictionary.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther FF
 * @Date 2023年 05月 25日
 * @Time 19:26
 */
@Service
public class DictionaryServiceImpl implements DictionaryService {
    @Autowired
    CheckStatusClient checkStatusClient;
    @Autowired
    ComplaintStatusClient complaintStatusClient;
    @Autowired
    JoinerStatusClient joinerStatusClient;
    @Autowired
    PlatformDomainClient platformDomainClient;
    @Autowired
    PostStatusClient postStatusClient;
    @Autowired
    RestrictedStatusClient restrictedStatusClient;
    @Autowired
    ComplaintTypeClient complaintTypeClient;
    @Autowired
    TypeClient typeClient;


    @Override
    public ResultObject getAllCheckStatus() {
        return checkStatusClient.getAllCheckStatus();
    }

    @Override
    public ResultObject getAllJoinerStatus() {
        return joinerStatusClient.getAllJoinerStatus();
    }

    @Override
    public ResultObject getAllPlatformDomain() {
        return platformDomainClient.getAllPlatformDomain();
    }

    @Override
    public ResultObject getAllPostStatus() {
        return postStatusClient.getAllPostStatus();
    }

    @Override
    public ResultObject getAllRestrictedStatus() {
        return restrictedStatusClient.getAllRestrictedStatus();
    }

    @Override
    public ResultObject getAllComplaintStatus() {
        return complaintStatusClient.getAllComplaintStatus();
    }

    @Override
    public ResultObject getAllComplaintType() {
        return complaintTypeClient.getAllComplaintType();
    }

    @Override
    public ResultObject getAllType() {
        return typeClient.getAllType();
    }
}
